package cn.slipi.admin.common.exception.base;

/**
 * 系统异常
 *
 * @author lee
 */
public class BizException extends RuntimeException {

    private Integer code;
    private String msg;
    private String log;

    public BizException() {

    }

    public BizException(int code, String msg) {
        this(code, msg, null);
    }

    public BizException(int code, String msg, String log) {
        super();
        this.code = code;
        this.msg = msg;
        this.log = log;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getLog() {
        return log;
    }

    public void setLog(String log) {
        this.log = log;
    }
}
